import { IBuffModel } from "../buff/model/IBuffModel";
import { ISkillModel } from "../skill/ISkillModel";
import { BattleHitUnit } from "../target/BattleHitUnit";
import IGameObject from "./IGameObject";


export interface IBattleAttacker extends IGameObject {
    getType(): number;



    isDead(): boolean;

    /**
     * 获得友方类型列表
     */
    getSelfType(): number[]

    /**
     * 获得对方类型列表
     */
    getOppsiteType(): number[]

    getHitUnit(): BattleHitUnit;

    setHitUnit(u: BattleHitUnit): void;

    addBuff(buff: IBuffModel, attacker: IBattleAttacker): void;
}